$(function(){
  let $pwd = $('#pwd'),
      $pwdText = $('.pwd-text'),
      $eye = $('#eye');
$pwd.on('input',()=>{
  $pwdText.val($pwd.val());
});
$eye.mouseover(()=>{
  $eye.html('显示');
  $pwdText.css('z-index','10');
});
$eye.mouseout(()=>{
  $eye.html('隐藏');
  $pwdText.css('z-index','-10');
})
});
